﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>南方学校管理系统</title>
<link href="css/style.css" rel="stylesheet" type="text/css" />
<script language="JavaScript" src="js/jquery.js"></script>
<script src="js/cloud.js" type="text/javascript"></script>

<script language="javascript">
	$(function(){
    $('.loginbox').css({'position':'absolute','left':($(window).width()-692)/2});
	$(window).resize(function(){  
    $('.loginbox').css({'position':'absolute','left':($(window).width()-692)/2});
    })  
   
});  
	function bd(){
		$.ajax({
			type:'post',
			url:"Admgo?action=adm",
			data:{user:$("#user").val(),password:$("#password").val()},
			success:function(data){
				if(data>0){
					window.location.href='mainadm.html';
				}else{
					alert("账号密码有误!");
				}	
			}
		})
	}
</script> 

</head>

<body style="background-color:#1c77ac; background-image:url(images/light.png); background-repeat:no-repeat; background-position:center top; overflow:hidden;">



    <div id="mainBody">
      <div id="cloud1" class="cloud"></div>
      <div id="cloud2" class="cloud"></div>
    </div>  


<div class="logintop">    
    <span>欢迎登录管理员系统界面平台</span>    
    <ul>
    <li><a href="index.html">回首页</a></li>
    <li><a href="#">帮助</a></li>
    <li><a href="#">关于</a></li>
    </ul>    
    </div>
    
    <div class="loginbody">
    
    <span class="systemlogo"></span> 
       
    <div class="loginbox">
    
    <ul>
    <li><input name="user" type="text" class="loginuser" value="" id="user" onclick="JavaScript:this.value=''"/></li>
    <li><input name="password" type="password" class="loginpwd" id="password" value="" onclick="JavaScript:this.value=''"/></li>
    <li><input name="" type="submit" class="loginbtn" value="登录" onclick="bd();"id="log" /></li>
     </ul>
   
    </div>
    
    </div>
    
    
    
    
    
</body>

</html>
